package io.renren.modules.sys.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


/**
 * @author zhangfn
 * 导出EXCEL bean
 */
@Data
@TableName("columns_info")
public class ColumnsInfoExcel extends BaseRowModel implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId
    private Integer id;

    private String tableId;

    @ExcelProperty(value = "列名", index = 0)
    private String columnsName;

    @ExcelProperty(value = "列类型", index = 1)
    private String columnsType;

    @ExcelProperty(value = "列长度", index = 2)
    private String columnsLength;

    @ExcelProperty(value = "列注释", index = 3)
    private String columnsZs;

    @ExcelProperty(value = "填充率", index = 4)
    private String tcl;

    private Integer sort;

}
